<?php $this->_extends('_layouts/default_layout'); ?>
<?php echo $this->_block('title')?>
<?php echo '会员中心',$config['sitename'] ?>
<?php echo $this->_endblock()?>
<?php echo $this->_block('meta')?>
<link
	rel="stylesheet" type="text/css"
	href="<?php echo $_BASE_DIR; ?>css/global.css" />
<link
	rel="stylesheet"
	href="<?php echo $_BASE_DIR; ?>images/account_index.css"
	type="text/css">
<link
	rel="stylesheet" href="<?php echo $_BASE_DIR; ?>images/account_con.css"
	type="text/css">
<?php echo $this->_endblock()?>
<?php $this->_block('center'); ?>
<div  class="line6px">
	<img src="<?php echo $_BASE_DIR; ?>images/acc_index_new_03.jpg">
</div>
<div id="maincon" style="margin-bottom: 0px;">
	<div id="maincon_l">
		<div id="maincon_l_c">
		<?php $this->_element('userleft') ?>
			<div id="maincon_l_c_r">
				<div id="maincon_l_c_r_con">
				<!-- 
					<div id="free_msg">
						<font>您还未参加过免费体验，<a href="#free/">点此这里</a>立即参加免费体验</font>
						<div id="free_exit">
							<img src="<?php echo $_BASE_DIR; ?>images/account_index_19.jpg" onclick="closeTip('free_msg')">
						</div>
					</div>
					<div id="active_msg">
						<font> <label id="send_email_result">您账号的Email未经过系统认证，您可以<a
								href="#">点击此处</a>发送认证邮件。</label> </font>
						<div id="active_exit">
							<img src="<?php echo $_BASE_DIR; ?>images/account_index_19.jpg"
								onclick="closeTip('active_msg')">
						</div>
					</div>
					<div id="email_msg">
						<font>您的用户名未绑定Email，<a href="javascript:OpenDiv(1);">点此这里</a>进行绑定</font>
						<div id="email_exit">
							<img src="<?php echo $_BASE_DIR; ?>images/account_index_19.jpg"
								onclick="closeTip('email_msg')">
						</div>
					</div>
					 -->
					<div class="clear"></div>
					
					<div id="welcome">
						<div style="float: left;">
							<div style="float: left; padding-right: 8px;">
							
								欢迎您：<span><?php echo $userdata->userid?></span>
							</div>
						</div>
						<div style="float: left; white-space: nowrap">
							手机号码：<span><?php echo $userdata->userphone?></span>
						</div>
					</div>
					
					
					<div class="clear"></div>
					<hr>
					现金余额：<font id="account_money"><?php echo $userdata->usermoney?></font> 元&nbsp;&nbsp;&nbsp;&nbsp;<a
						href="<?php echo url("users/pay")?>">立即充值</a>
					积分余额：<font id="account_money"><?php echo $userdata->userpoint?></font>	
						<br> 注册时间:<?php echo date('Y-m-d G:i:s',$userdata->createtime)?>
						<br> 您上次登录时间：<?php echo date('Y-m-d G:i:s',$userdata->last_logininfo->createtime);?>
					<br>
					
					<hr>
					
				</div>
			</div>
		</div>
	</div>
	<?php $this->_element('userright') ?>
	<div class="clear"></div>
</div>
<div style="margin-bottom: 10px;"  class="line6px">
	<img src="<?php echo $_BASE_DIR; ?>images/acc_index_new_07.jpg">
</div>
		<?php $this->_endblock(); ?>

<?php $this->_block('scripts'); ?>
<script type="text/javascript">
<!--
function closeTip(element)
{
	document.getElementById(element).style.display = 'none';
}
//-->
</script>
<?php $this->_endblock(); ?>
